<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>UnifyAdminThinkLog</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link href="/static/bootstrap.min.css" rel="stylesheet">
    <style>
        a {
            color: #333
        }
        .list-group-item.active {
            background-color: orange;
            border-color: orange;
            color: white;
        }

    </style>
</head>
<body>

<div class="container">
    <div style="margin-top: 20px"></div>
    <div class="row">
        <div class="col-sm-2">
            <ul class="list-group">
                {volist name="files" id="file"}
                <li class="list-group-item {$file['real'] == $default ? 'active' : ''}">
                    <a href="?file={$file['real']}&token={:input('token')}">{$file['name']}</a>
                </li>
                {/volist}
            </ul>
        </div>
        <div class="col-sm-10">
            <ul class="list-group">
                {volist name="data['data']" id="log"}
                <li class="list-group-item">
                    <code style="word-wrap: break-word;overflow-wrap: break-word;">
                        {:implode("<br><br>", $log)}
                    </code>
                </li>
                {/volist}
            </ul>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12 text-right" >
            {:htmlspecialchars_decode($paginator?:'')}
        </div>
    </div>
</div>
</body>
</html>